Your car insurance works that way, in the sense that they generally have to pay you enough to replace the car like for like. A shirt is a bit different in that there is not a robust used shirt market where you can go out and buy a nearly exactly equivalent shirt. Given that, it seems reasonable that they would pay for the replacement via a similar new shirt.
Home insurance actually works _exactly_ this way. As long as you have a mortgage in the US, you're going to be required to carry enough insurance to pay for the full cost of completely rebuilding a similar brand new home in the event the home is destroyed.