@Test
public void testClone() {

	Duration clone = d1.clone();
	assertEquals(d1.toString(), clone.toString());
	assertEquals(d1.toJsonObject(), clone.toJsonObject());
	assertEquals(d1.getPrimitiveType(), clone.getPrimitiveType());
	assertEquals(d1.getSecs(), clone.getSecs());
	assertEquals(d1.getNsecs(), clone.getNsecs());
	assertEquals(d1.toSec(), clone.toSec(), 0);
	assertEquals(d1.toNSec(), clone.toNSec());
	assertNotSame(d1, clone);
	assertNotSame(d1.toString(), clone.toString());
	assertNotSame(d1.toJsonObject(), clone.toJsonObject());
}