Added Environment.clone method