[entity] implemented the first draft of cloning