numpy.ma.MaskedArray.unshare_mask
method
- 
Copy the mask and set the sharedmask flag to False. Whether the mask is shared between masked arrays can be seen from the sharedmaskproperty.unshare_maskensures the mask is not shared. A copy of the mask is only made if it was shared.See also 
    © 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
    https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.ma.MaskedArray.unshare_mask.html