Fix `clippy::map_clone` lint violations (#36585)

#36577

Release Notes:

- N/A
92352f97adtidely committed on 8/20/2025, 2:34:52 PM· committed by GitHubparenteaf6b56
4 files changedLine totals unavailable