Changed `utility.clone()` to use `Array.prototype.slice()` for `Arrays`