Sets the physical length of this vector, and returns a reference to this vector.
The physical length is the maximum logical length of the array before it automatically grows.