Molecular/cluster statistical thermodynamics methods to simulate quasi-static deformations at finite temperature