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)
Clone profile, with environments.
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/environments/models.py/Profile.clone