Fix bug in 'reset' seen when number of rows changed.
Add DataSource<T>.clear() method.