#NEWLINE# def _clone( self , next_step = None ) : #NEWLINE# #INDENT# new = self . __class__ ( self . type ) #NEWLINE# new . steps = list ( self . steps ) #NEWLINE# if next_step : #NEWLINE# #INDENT# new . steps . append ( next_step ) #NEWLINE# #UNINDENT# new . start = self . start #NEWLINE# new . stop = self . stop #NEWLINE# new . field_boosts = self . field_boosts . copy ( ) #NEWLINE# return new