Fixed bug with vector copy (was not recursively copying members).