If you double the temperature of an object you do not double its mass.Mass is directly proportional to the amount of heat (energy) in an object
There is a mass associated with the K.E of an object, (or the sum of kinetic energies of its constituent parts) but that mass is almost always miniscule compared to the rest mass.