copy.setParent(parent);
setNewName(copy);
copyPermissions(original, copy, project);
copyPluginSettings(original, copy, project);
doSpecialHandling(original, copy, project);
project.insertEntity(copy, parent);
return copy;
} finally {
IntegrationProjectLock.release();
}
}