# Working with generated code in memory

## Cloning

The generated beans (and in particular the `JAXBElement` class) do not support the clone operation. There was a suggestion by another user that beanlib has been used successfully to clone JAXB objects.