code: public void clear() {
          Map<String, String> map = inheritableThreadLocal.get();
          if (map != null) {
              map.clear();
              inheritableThreadLocal.remove();
          }
      }
docs: Clear all entries in the MDC.