Duplicate functionality for 2d vectors