[DDC-2624] Fix bug when persistent collection is cloned and used in a new entity.