I didn't mean duplicating the code in the Vector2 class. I meant using the same code for both classes (both classes could still have a convenience method to call that generic method though).