added boolean return to engine.entities.cloneEntity()