Removes the element at the parameter index position and swaps the last element if existent to the same position to ensure the range is contiguous. This method provides efficient removal O(1) but it doesn't preserve the insertion order.