def __reduce__(self):
        return (self.__class__, self.__getnewargs__())
__reduce__ is defined to allow pickling of Arrays
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/arrays.py/Array.__reduce__