copy

fun copy(includeTypes: Boolean = this.includeTypes, ignoreKeys: Set<String> = this.ignoreKeys, ignorePaths: Set<String> = this.ignorePaths, maxDifferences: Int = this.maxDifferences, maxValueBytes: Int = this.maxValueBytes, verifySkippedSubtrees: Boolean = this.verifySkippedSubtrees): DiffOptions(source)

These options with the given ones changed; the result is validated like a new instance.