def clone(self, *args, **kwargs):
        kwargs.setdefault("cascade", ["environments"])
        overrides = kwargs.setdefault("overrides", {})
        overrides.setdefault("name", "Cloned: {0}".format(self.name))
        return super(Profile, self).clone(*args, **kwargs)
Get a new pivot statement for a given "other" id.
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/environments/models.py/Profile.clone--crossover with--dataset/ETHPy150Open sdispater/orator/orator/orm/relations/belongs_to_many.py/BelongsToMany.new_pivot_statement_for_id