toArray
Proper handling of clear