copy

fun copy(schemas: List<SudokuSchema> = this.schemas): SudokuSchemas

Creates a copy of this SudokuSchemas with an optional new list of schemas.

Return

A new SudokuSchemas instance with the specified schemas.

Parameters

schemas

The new list of schemas to include in the copied set. If not provided, the original list is used.