Add clear() method to ImageCache