Implements identity-based interning based on guava