Removes all the elements from the array and releases allocated memory.
Postcondition: empty == true && capacity == 0
Complexity: O(length)
See Implementation
Removes all the elements from the array and releases allocated memory.
Postcondition: empty == true && capacity == 0
Complexity: O(length)