Extract arrays.delete() to core/utils

I've cloned the array using `slice()` without argument (which is what underscore's` _.clone()` does for arrays: http://underscorejs.org/docs/underscore.html#section-88)
or maybe `isEmpty()`, so that nobody thinks `empty()` means something like `clear()`...