In my design Arduino creates 10kHz carrier. This 'carrier' moves to the output the sinewave. LC filter does clear the 50 Hz sinewave signal from the carrier (to a degree).