Find duplicate pattern slots or automatically alias?

When one pattern slot is the same as the one that immediately precedes it, the “show identical repeated slots” feature shows this.

Is there a way to see, select, or alias duplicate slots that are not adjacent to one another?

Thanks, I was searching tools for ‘alias’ and ‘duplicate’ and didn’t find this.