def copy(cell): '''Deepcopy of the given :class:`Cell` object ''' import copy newcell = mole.copy(cell) newcell._pseudo = copy.deepcopy(cell._pseudo) return newcell