Successfully implemented and tested block save and restore for Nether side. This way everything in place of portal exit is restored when portal is closed. Though source world side isn't stored for now, and default replacement is used.
Default replacement: obsidian remains, glass vanishes, redstone turns into gravel.