// XXX: If the copied item is deleted directly, without saving, its plugin settings
// will remain (because the item was still transient some event notifications are not
// sent out as usual).
try {
ManagedProject mp = project.getExtensionObject(ManagedProject.class);
ProjectPluginInfo pluginSettings = mp.getPipelinePlugins();
pluginSettings.getAppliedPlugins().copy(original, copy);
mp.savePluginInfo();
} catch (InterchangeSavingException e) {
ErrorLog.attention(getClass(), "The plugin settings could not be copied.", e);
}
}