Fix #32 by adding clear() function to clear the pixel buffer (set all pixels to zero/off).