In the UI it would be nice to duplicate the selected connection, in the menu "With Selected". 

The copy would be set with the same name plus some suffix (_copy, _1, whatever) and it is useful for when you have a connection with all equal fields except something in a particular one. 
airflow/www/views.py
"""Base View to set Airflow related properties"""
    from airflow import macros
    route_base = ''
    
    extra_args = {
        'macros': macros,
    }
    line_chart_attr = {
        'legend.maxKeyLength': 200,
    }
    def render_template(self, *args, **kwargs):