Entity: getIterator() uses toArray()