Retooling spare parts: gene duplication and cognition