zeros_as

Produces an identity matrix as per M, in shape and type