When you do nByID[node] = this.nodesByID[node] you don't copy it (it's an object, you get a reference), if you want a copy you need to do Ext.copy(something).