Packed slices have the same behavior.
import mir.ndslice.allocation; import mir.ndslice.topology : pack; auto a = slice!int(2, 3).pack!1; a[] += 9; assert(a == [[9, 9, 9], [9, 9, 9]]);
See Implementation