Properly implement and use GcCache::clear