Function ManagedState.Clone

Clone ()

Clones the managed state for when an entity is duplicated.

Private
object Clone ()

Clones the managed state for when an entity is duplicated.

Some fields are cleared instead of being cloned, such as the pending path, which cannot reasonably be cloned.