Adds .clone for shallow copy an object.