### Question:
Float64MultiArray extends Message { @Override public Float64MultiArray clone() { return new Float64MultiArray(this.layout, this.data); } Float64MultiArray();  Float64MultiArray(MultiArrayLayout layout, double[] data); MultiArrayLayout getLayout(); int size(); double get(int index); double[] getData(); @Override Float64MultiArray clone(); static Float64MultiArray fromJsonString(java.lang.String jsonString); static Float64MultiArray fromMessage(Message m); static Float64MultiArray fromJsonObject(JsonObject jsonObject); static final java.lang.String FIELD_LAYOUT; static final java.lang.String FIELD_DATA; static final java.lang.String TYPE; }### Answer:
@Test public void testClone() { Float64MultiArray clone = a1.clone(); assertEquals(a1.toString(), clone.toString()); assertEquals(a1.toJsonObject(), clone.toJsonObject()); assertEquals(a1.getMessageType(), clone.getMessageType()); assertTrue(Arrays.equals(a1.getData(), clone.getData())); assertEquals(a1.getLayout(), clone.getLayout()); assertEquals(a1.size(), clone.size()); assertNotSame(a1, clone); assertNotSame(a1.toString(), clone.toString()); assertNotSame(a1.toJsonObject(), clone.toJsonObject()); assertNotSame(a1.getData(), clone.getData()); }