Returns a new list with the contents of the present IList, but the config of other.
other
IList<T> withConfigFrom(IList<T> other) => withConfig(other.config);