First, it doesn't have the same headtube angle.
Second, The headtube angle of the enduro is measured with a 150mm fork on it already.. the hardrock is measured with a 100mm fork. Putting a 140mm fork on the hardrock is going to change the headtube angle.
Third, the enduro frame is made to handle the added stress from a fork that size, the hardrock is not.