Added cloning to the controllers.py