The clear method is very simple. Just create a new array.