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)
Why not just:

    setObject(key, a.remove(array, value));

Why do we need this conditional?