Allow __deepcopy to work with lists.