This PR ensures the default annotation in cloned on Create. Prior to this PR, Create could assign default values by reference. This could result in unintended mutation of the annotation with downstream handling of the value, cloning the value mitigates this.
This PR ensures the default annotation in cloned on Create. Prior to this PR, Create could assign default values by reference. This could result in unintended mutation of the annotation with downstream handling of the value, cloning the value mitigates this.
Reference: https://github.com/sinclairzx81/typebox/issues/726