use enyo.cloneArray() here instead of direct slice use