Always return a new array.
Also accounts for zero-length arrays.
package.json formatting.
Add domenic to contributors.