he compatibility replacement for functools.wraps which supports
    argument preservation across all supported Python versions.
    