### Question:
EmbeddedDescriptor extends TynamoPropertyDescriptorImpl implements IdentifierDescriptor { @Override public Object clone() { return new EmbeddedDescriptor(this); } EmbeddedDescriptor(Class beanType, TynamoPropertyDescriptor descriptor, TynamoClassDescriptor embeddedClassDescriptor); private  EmbeddedDescriptor(EmbeddedDescriptor dto); boolean isIdentifier(); void setIdentifier(boolean identifier); boolean isGenerated(); void setGenerated(boolean generated); TynamoClassDescriptor getEmbeddedClassDescriptor(); void setEmbeddedClassDescriptor(TynamoClassDescriptor embeddedClassDescriptor); @Override boolean isEmbedded(); @Override Object clone();  }### Answer:
@Test public void testClone() throws Exception { EmbeddedDescriptor embeddedDescriptor = new EmbeddedDescriptor(Embeddor.class, new TynamoPropertyDescriptorImpl(Embeddor.class, "embeddee", Embeddee.class), new TynamoClassDescriptorImpl(Embeddee.class)); embeddedDescriptor.getEmbeddedClassDescriptor().getPropertyDescriptors().add(new TynamoPropertyDescriptorImpl(Embeddee.class, "title", String.class)); EmbeddedDescriptor cloned = (EmbeddedDescriptor) embeddedDescriptor.clone(); assertEquals(Embeddor.class, cloned.getBeanType()); assertEquals(Embeddee.class, cloned.getPropertyType()); assertEquals(1, cloned.getEmbeddedClassDescriptor().getPropertyDescriptors().size()); }