Add a option `check_unique` in nodes.add

about #44, re-open #47