def clone(self):
    res = BeamNGMember(list(self.control_nodes), list(self.sample_nodes), self.num_spline_nodes, self.road_bbox)
    res.config = self.config
    res.problem = self.problem
    res.distance_to_boundary = self.distance_to_boundary
    return res
def clone(self):
    res = BeamNGMember(list(self.control_nodes), list(self.sample_nodes), self.num_spline_nodes, self.road_bbox)
    res.config = self.config
    res.problem = self.problem
    res.distance_to_boundary = self.distance_to_boundary
    return res