Duplicate specs

Adds a check to ensure the spec does not already exist before adding.