Implemented entity cloning