ByteBuffers.clone method fix