docs: def build_chain(self, **kwargs):
          """
          Builds a new patterns chain
  
          :param pattern:
          :type pattern:
          :param kwargs:
          :type kwargs:
          :return:
          :rtype:
          """
          set_defaults(self._chain_defaults, kwargs)
          set_defaults(self._defaults, kwargs)
          return Chain(self, **kwargs)