code: def wrapped_object(self, LayoutClass, fields, *args, **kwargs):
          
          if args:
              if isinstance(fields, list):
                  fields = tuple(fields)
              else:
                  fields = (fields,)
  
              if LayoutClass in self.args_first:
                  arguments = args + fields
              else:
                  arguments = fields + args
  
              return LayoutClass(*arguments, **kwargs)
          else:
              if isinstance(fields, list):
                  return LayoutClass(*fields, **kwargs)
              else:
                  return LayoutClass(fields, **kwargs)
docs: Returns a layout object of type `LayoutClass` with `args` and `kwargs` that
          wraps `fields` inside.