code: def create_pattern(cls, userdata):
          
          empty = cls.create_empty(None)
          userdata_dict = cls.normalize(empty, userdata)
          return Userdata(userdata_dict)
docs: Create a user data instance with all values the same.