code: def __array_finalize__(self, obj):
      np.matrix.__array_finalize__(self, obj)
      MaskedArray.__array_finalize__(self, obj)
      return
  
imports: import pickle
  import numpy
  from numpy.testing import assert_warns
  from numpy.ma.testutils import assert_, assert_equal, assert_raises, assert_array_equal
  from numpy.ma.core import masked_array, masked_values, masked, allequal, MaskType, getmask, MaskedArray, nomask, log, add, hypot, divide
  from numpy.ma.extras import mr_
label_desc: Use image node_id 2 for calling the MMatrix obj's underlying member method code with example usage: obj.__array_finalize__(obj) without return types