Preventing accidental copying of the matrix stack