Spectral cleaning and output modal transformations in WGM microresonators