Add IList::clear().
In ListByArray, clear() is done by assigning lengthValid to zero.