How to clean Mac OS X before selling (Lion from App Store)
Yes, Just hold down cmd+R during startup and Lion Recovery springs into action; It lets you choose from common utilities: You can choose to erase your hard drive and reinstall a fresh copy of Lion.

P.S: In order to reinstall OS X Lion, you will need to be connected to an Ethernet or Wi-Fi network