Add clone.py
Implement Trainer prototype