[jQuery] Get all unique class names

[jQuery] Get all unique class names


I'm interested in getting an array of unique class names of all option
tags under a specific select element.
I'm imagining something like this (which does not do what I want): $
( '#select_id option.class' );
What's the correct way to do this using jQuery?
Thanks!