[publicationworkflow] Changed the way the clone is made on copying a document since otherwise object properties are badly merged and the target document is not updated properly (works fine when the document is created but not updated).