• If the given validator is an object validator, it will be cloned to a partial validator, otherwise returns the validator as is.

    Parameters

    Returns Validator<any>