Merge pull request #205 from ndawe/master

add ignore_duplicates option for Tree.set_buffer