### Question:
LabelGeometry extends AbstractColorGeometry { @Override public LabelGeometry clone() { return (LabelGeometry)super.clone(); } LabelGeometry(LabelGeometry.Builder<?> builder, LabelRenderProperties renderProperties, Constraints constraints); @Override LabelGeometry clone(); @Override Builder<? extends Position> createBuilder(); @Override LabelGeometry derive(BaseRenderProperties renderProperties, Constraints constraints); @Override GeometryOrderKey getGeometryOrderKey(); float getHorizontalAlignment(); Color getOutlineColor(); Position getPosition(); @Override Class<? extends Position> getPositionType(); @Override Position getReferencePoint(); @Override LabelRenderProperties getRenderProperties(); String getText(); float getVerticalAlignment(); boolean isOutlined(); @Override boolean overlaps(BoundingBox<T> boundingBox, double tolerance); @Override String toString();  }### Answer:
@Test public void testClone() { LabelGeometry.Builder<GeographicPosition> builder = new LabelGeometry.Builder<GeographicPosition>(); builder.setDataModelId(3423L); GeographicPosition position = new GeographicPosition(LatLonAlt.createFromDegrees(23., 56.)); builder.setPosition(position); builder.setRapidUpdate(true); builder.setFont("font"); builder.setText("text"); builder.setHorizontalAlignment(.5f); builder.setVerticalAlignment(.5f); LabelRenderProperties renderProperties1 = new DefaultLabelRenderProperties(65763, false, true); TimeConstraint timeConstraint = TimeConstraint.getTimeConstraint(TimeSpan.get(10L, 20L)); Constraints constraints1 = new Constraints(timeConstraint); LabelGeometry geom = new LabelGeometry(builder, renderProperties1, constraints1); LabelGeometry clone = geom.clone(); Assert.assertNotSame(geom, clone); Assert.assertEquals(geom.getDataModelId(), clone.getDataModelId()); Assert.assertEquals(geom.getPosition(), clone.getPosition()); Assert.assertEquals(geom.isRapidUpdate(), clone.isRapidUpdate()); Assert.assertEquals(geom.getText(), clone.getText()); Assert.assertEquals(geom.getHorizontalAlignment(), clone.getHorizontalAlignment(), 0f); Assert.assertEquals(geom.getVerticalAlignment(), clone.getVerticalAlignment(), 0f); Assert.assertNotSame(geom.getRenderProperties(), clone.getRenderProperties()); Assert.assertEquals(geom.getRenderProperties(), clone.getRenderProperties()); Assert.assertNotSame(geom.getConstraints(), clone.getConstraints()); Assert.assertEquals(geom.getConstraints(), clone.getConstraints()); }