It’s a frequent nuisance on my machine that when I right-click on a file icon and choose “open with” I get a mess; there are three or four copies of each app in the list even though I only have one of each. I understand that this happens most often when you are cloning your HD which I do frequently. To fix that, run this script which flushes the Launch Services Database and then restarts the Finder:
set flushLaunchSvcDB to "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user"
do shell script flushLaunchSvcDB
tell application "Finder"
quit
delay 1
activate
end tell