Restore the internal state of the masked array, for pickling purposes. state is typically the output of the __getstate__ output, and is a 5-tuple:
numpy.ma.MaskedArray.__reduce__
numpy.ma.MaskedArray.__new__