It depends on the frequency, intensity, and duration of the ultrasound.
Which probably aren't documented for the ultrasonic cleaners.
Plus "if you don't know, play it safe".