Add a clone method

I don't know if it really works, deep copy in python can be a bit tricky