Add a option `check_unique` in nodes.add

Add a unique check option. about #44