fix #3

The problem is your changes are directly on original data. So in order to fix it, I use a deep array copy `$.extend(true, [], array)`.