Removing cask duplicates