Copy the upper matrix triangle to the lower one

matrixdiagcopy(.mat)

Arguments

.mat

Matrix.