Find identical components in GH-Script

Hey guys,

We know how to find and get rid of duplicate points and lines with grasshopper.
But would it be possible to find duplicate components within a grasshopper script?
I mean components that do exactly the same thing and have the same output / result…

I have lost overview of my GH-Script and am trying to clean it…
I googled a bit but didn`t find anything.



Right click on canvas > Find.

Components yes (‘Find’) but identical results, no.

Yes I know the search-function.
Thought that such a function to find identical components / results would not exist.