lib/youtube-dl/options.rb
def with(hash)
      merged = Options.new(@store.merge(hash.to_h))
      merged.banned_keys = @banned_keys
      merged.send(:remove_banned)
      merged
    end
def with(hash)
      merged = Options.new(@store.merge(hash.to_h))
      merged.banned_keys = @banned_keys
      merged.send(:remove_banned)
      merged
    end
Merge options with given hash, removing banned keys, and returning a
 new instance of Options.

 @param hash [Hash] Hash to merge options with
 @return [YoutubeDL::Options] Merged Options instance