[Pre-RFC] Retain Iterators API for HashSet/HashMap/Vec/VecDeque

I’ve noticed this API is most similar to the retain function, so I’ve updated the scope of this RFC to include modifying those APIs to return iterators as well.