Disallow dupes

An implementation of the feature request in Issue #7.