/// <inheritdoc />
        public INDArray Clip(INDArray array, INumber minValue, INumber maxValue)
        {
            TNDArray internalArray    = InternaliseArray(array);
            TNumber  internalMinValue = InternaliseNumber(minValue);
            TNumber  internalMaxValue = InternaliseNumber(maxValue);

            DNDArray lowerClipped = DNDArray.Max(internalMinValue.Handle, internalArray.Handle);
            DNDArray clipped      = DNDArray.Min(internalMaxValue.Handle, lowerClipped);

            return(CreateArrayFromHandle(clipped));
        }