CRUDSchemaField
@cloneField
Use the @cloneField directive to clone the value of another field.
The @cloneField directive can only be used in conjunction with the @readonly directive.
Example
With the following schema definition, the username field will be read-only and will clone the value of the email field:
type User @crudType {
email: String!
username: String! @cloneField(from: "email") @readonly
}