Implement List::clear().