Going by the needs expressed here and the naming conventions of the standard, perhaps a consideration should be: SAME_SHAPE_AS.
c.f. SAME_TYPE_AS in the standard.
If such a function were then to be experimented in the stdlib, it can be a candidate for eventual inclusion in the standard.