Adds attributes for avoid duplication of the same object.