There are key differences. Ireland, Spain and Greece are members of both the EU and the Eurozone. Iceland is a member of neither.
IANAL but I understand that what Iceland did would not have been permissible under EU law. That is part of the reason why Ireland, for example, took the path it did, in relation to the bank bail-outs.