Good point.  I don't remember if there was a reason I didn't use `deepcopy` but this seems like a cleaner approach now.