As I have understood it rime ice and clear ice can form in flight. Clear is more dangerous because it can build up very quickly and comes from supercooled water droplets which can be like rain or just suspended.
Rime is often found in cold clouds typically stratus in winter but sometimes cumulus.
Hoar frost is only collected on the ground through sublimation.
Any body want to correct me?