Fine-tuning move and copy semantics for environments