The clone function is not deep enough :(