add: clean_specs function to remove copied content