The standard answer is that cocktails that don't contain juice should be stirred rather than shaken. Stirring a cocktail in a shaker with ice allows some of that ice to melt into the drink, smoothing the edges of the cocktail without the cloudiness that comes from shaking it with the ice.