Add example and description for clear().