Engine::clear() method