How do I copy an object in Python?
Try
copy.copy
or
copy.deepcopy
for the general case. Not all obj