What is the equivalent of a diagonal in a non-square matrix or array?

Yes, those entries: $m_{ij}$ in $M$, with $i = j$, constitute what can technically be called the "main diagonal" of the rectangular matrix, though the diagonal of such a matrix is not necessarily as "useful" as it is in a square matrix. See, e.g., the Main Diagonal entry in Wikipedia.