code: def _make_wrapper(f):
      
      @wraps(f)
      def wrapper(*args, **kwargs):
          return f(*args, **kwargs)
      wrapper._pecan = f._pecan.copy()
      return wrapper
docs: return a wrapped function with a copy of the _pecan context