Removes all elements.
auto v = Array!int([18, 20, 15]); v.clear(); assert(v.length == 0); assert(v.capacity == 3);
See Implementation
Removes all elements.