@Override
    public RawBuffer clone() {
        return new RawBuffer(new ArrayList<>(buffer));
    }
Create a copy of data in the internal buffer.

@return A copy of the data.
container-search/src/main/java/com/yahoo/search/grouping/request/RawBuffer.java