Added copyfrom methods for entity cloning