Package: groovy.transform

## [Java] Enum AutoCloneStyle

- groovy.transform.AutoCloneStyle

-     public enum AutoCloneStyle
      extends Enum

  Intended style to use for cloning when using the `@`AutoClone annotation.

  Since:
    1.8.0
  See Also:
    AutoClone

- - ### Enum Constants Summary

    Enum constants classes
    Enum constant | Description
    --- | ---
    `CLONE` | Uses only cloning.
    `COPY_CONSTRUCTOR` | Uses the copy constructor pattern.
    `SERIALIZATION` | Uses serialization to clone.
    `SIMPLE` | Uses the no-arg constructor followed by property/field copying/cloning.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Enum` | `name, equals, toString, hashCode, compareTo, compareTo, valueOf, describeConstable, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll`

- - ### Enum Constant Detail

    - #### public AutoCloneStyle CLONE

      Uses only cloning.

    - #### public AutoCloneStyle COPY_CONSTRUCTOR

      Uses the copy constructor pattern.

    - #### public AutoCloneStyle SERIALIZATION

      Uses serialization to clone.

    - #### public AutoCloneStyle SIMPLE

      Uses the no-arg constructor followed by property/field copying/cloning.