empty_like

astropy.utils.masked.function_helpers.empty_like(prototype, dtype=None, order='K', subok=True, shape=None)[source]

Return a new array with the same shape and type as a given array.

Like numpy.empty_like, but will add an empty mask.