Added a Clear overload which also resizes.