Remove

Removes an element from an array by index. Modifies the input array.