- Fixed build
- Extracted cloning code from activate()
- Fix missing member copy in Environment::clone()