@Override
    public LongMaximum clone() {
        LongMaximum clone = new LongMaximum();
        clone.max = this.max;
        return clone;
    }
@Test
    void testClone() {
        LongMaximum max = new LongMaximum();
        long value = 4242424242424242L;

        max.add(value);

        LongMaximum clone = max.clone();
        assertThat(clone.getLocalValue().longValue()).isEqualTo(value);
    }