copy

fun SemVer.copy(major: Int = this.major, minor: Int = this.minor, patch: Int = this.patch, preRelease: PreRelease? = this.preRelease, isSnapshot: Boolean = this.isSnapshot): SemVer
fun PreRelease.copy(name: String = this.name, version: Int = this.version): PreRelease