copy

open fun copy(value: String = this.value): Input

Copy the input. Type and errors are preserved