SciPy

numpy.ndarray.__array_wrap__

ndarray.__array_wrap__(obj) → Object of same type as ndarray object a.