fix hibernate.NonUniqueObjectException on errata cloning

regeneration of metadata after cloning might cause and hibernate exception which cause a rollback.
In the end cloning does not happen/finish.