Runtimepath: how to remove duplicates?

Maybe a beginner question, but &rtp has duplicates. Each of these 3 lines appears TWICE in &rtp I can not figure out how to remove the extra copy. Using packer and several popular packages. Appreciate any tool suggestions to debug &rtp. Thx

/home/jim/.local/share/nvim/site/pack/*/start/*,
/home/jim/.local/share/nvim/site/pack/*/start/*/after,
/home/jim/.local/share/nvim/site/after,