Adding cloning and a whole heap of plotting stuff