code: public RetentionStrategy getRetentionStrategyCopy() {
          if (retentionStrategy instanceof DockerOnceRetentionStrategy) {
              DockerOnceRetentionStrategy onceRetention = (DockerOnceRetentionStrategy) retentionStrategy;
              return new DockerOnceRetentionStrategy(onceRetention.getIdleMinutes());
          }
          return retentionStrategy;
      }
docs: tmp fix for terminating boolean caching