Copy values between entites

Hi
Is there any way for copy values between this same type entites. I find method deepCopy in MetadataTools class but I’d like copy all values without ID.
I need set ID column in new entity in this same way like in metadata.create(My.class)

Hi,

If you need a new ID for the root entity, you can assign it using setId() method after copying the object graph.