[subset] Take iterator in ArrayOf serialize Still not satisfied with how I can enforce iterators only, but seems to work for now.