code: public static CircuitBreakerStatus copyOf(AbstractCircuitBreakerStatus instance) {
      if (instance instanceof CircuitBreakerStatus) {
        return (CircuitBreakerStatus) instance;
      }
      return CircuitBreakerStatus.builder()
          .from(instance)
          .build();
    }
docs: Creates an immutable copy of a {@link AbstractCircuitBreakerStatus} value.
  Uses accessors to get values to initialize the new immutable instance.
  If an instance is already immutable, it is returned as is.
  @param instance The instance to copy
  @return A copied immutable CircuitBreakerStatus instance