removes an index of an array, using array splice and concat, returns new array, only works on deduped arrays