Returns an empty list with the same configuration.
@useCopy IList<T> clear() => IListImpl.empty<T>(config);