def METHOD_NAME(self):
    if self._is_new():
        dbsession = self._request.dbsession
        default_wms = LayerWMS.get_default(dbsession)
        if default_wms:
            return self.copy(default_wms, excludes=['name', 'layer'])
    return super().edit()