Fix bug where Array#to_nm would alter the Array

Fixes a bug of my own creation. Sorry about that one.