duplicate

Creates a new buffer that shares this buffer’s content but has independent position, limit, and mark.