def METHOD_NAME(self, bus_dict=None):
    """
    Returns a copy of the line
    @return: A new  with the same content as this
    """
    if bus_dict is None:
        f = self.bus_from
        t = self.bus_to
    else:
        f = bus_dict[self.bus_from]
        t = bus_dict[self.bus_to]
    b = Switch(bus_from=f,
               bus_to=t,
               name=self.name,
               r=self.R,
               x=self.X,
               rate=self.rate,
               active=self.active)
    b.measurements = self.measurements
    return b