Added a clone function to EngineProperties.