Enable it only for side data types that don't allow more than one entry. Signed-off-by: James Almer <jamrial@gmail.com>
Additionally, add an API test to check that the no-duplicates addition works after duplicates have been inserted.