code: def duplicate(self):
          '''
          Returns a copy of the current Line, including its taxes and discounts
          @returns: Line.
          '''
          instance = self.__class__(name=self.name, description=self.description,
                                    unit=self.unit, quantity=self.quantity,
                                    date=self.date, unit_price=self.unit_price,
                                    gin=self.gin, gtin=self.gtin, sscc=self.sscc)
          for tax in self.taxes:
              instance.taxes.append(tax.duplicate())
          for discount in self.discounts:
              instance.discounts.append(discount.duplicate())
          return instancf duplicate(self):
          '''
          Returns a copy of the current Line, including its taxes and discounts
          @returns: Line.
          '''
          instance = self.__class__(name=self.name, description=self.description,
                                    unit=self.unit, quantity=self.quantity,
                                    date=self.date, unit_price=self.unit_price,
                                    gin=self.gin, gtin=self.gtin, sscc=self.sscc)
          for tax in self.taxes:
              instance.taxes.append(tax.duplicate())
          for discount in self.discounts:
              instance.discounts.append(discount.duplicate())
          return instance
docs: Returns a copy of the current Line, including its taxes and discounts
          @returns: Line.