Note: this trick dates from around 2010 and may well have been patched out since.
The method differs by gender:
Boys: buy a mask from Zavenue — the vampire mask doesn't work, but mask4 does. Equip it from your purchases, then go to Appearance, then Face. Beside your avatar there's a small box showing the mask; click inside that box and the mask disappears from it while staying on your avatar. Don't use the "remove item" link. Return to Purchases, open Masks, and click your mask again.
Girls: same process, but use the lifeguard sweater, which you earn by completing the safety video at Zwinkytopia. Equip it, go to Features then Faces, click the sweater inside the small box beside your avatar so it vanishes there while remaining worn, then head back to Shirts in Purchases and remove it.
The trick hinges on using the right item for your avatar's gender — use the wrong one and nothing happens.