code: public SDVariable clipByValue(String name, SDVariable x, double clipValueMin, double clipValueMax) {
          validateNumerical("clip by value", x);
          SDVariable ret = f().clipByValue(x, clipValueMin, clipValueMax);
          return updateVariableNameAndReference(ret, name);
      }
docs: Element-wise clipping function:<br>
  out[i] = in[i] if in[i] >= clipValueMin and in[i] <= clipValueMax<br>
  out[i] = clipValueMin if in[i] < clipValueMin<br>
  out[i] = clipValueMax if in[i] > clipValueMax<br>
  
  @param name         Name of the output variable
  @param x            Input variable
  @param clipValueMin Minimum value for clipping
  @param clipValueMax Maximum value for clipping
  @return Output variable