def copy_spline_array(a):
b = spline_array()<EOL>b.x_splines = a.x_splines<EOL>b.y_splines = a.y_splines<EOL>b.max_y_splines = a.max_y_splines<EOL>b.xmin = a.xmin     <EOL>b.xmax = a.xmax<EOL>b.ymin = a.ymin<EOL>b.ymax = a.ymax<EOL>b.xlabel = a.xlabel<EOL>b.ylabel = a.ylabel<EOL>b.zlabel = a.zlabel<EOL>b.simple = a.simple<EOL>b.generate_y_values()    <EOL>return b<EOL>
This returns an instance of a new spline_array with all the fixins, and the data from a.