Add method to clear the area within a rectangle.