Restore standard Iterator<T>.iterator() function deleted by merge
Use common function for easier migration