def copy(self):
result = Vector3(self.size, self.deriv)<EOL>result.x.v = self.x.v<EOL>result.y.v = self.y.v<EOL>result.z.v = self.z.v<EOL>if self.deriv > <NUM_LIT:0>:<EOL><INDENT>result.x.d[:] = self.x.d<EOL>result.y.d[:] = self.y.d<EOL>result.z.d[:] = self.z.d<EOL><DEDENT>if self.deriv > <NUM_LIT:1>:<EOL><INDENT>result.x.dd[:] = self.x.dd<EOL>result.y.dd[:] = self.y.dd<EOL>result.z.dd[:] = self.z.dd<EOL><DEDENT>return result<EOL>
Return a deep copy