I think for most of its use-cases, you could replace it with a one-liner:
alias path='echo -e ${PATH//:/\\n} '
and work with it via sort and uniq. I've had this alias in my configuration for a couple of decades now, so I'm not bashing on its usefulness though.