empty the array, reset nvals to be 0
empty all contents of the array without changing the size or status of any array