I dont know this is good for mechanic looks like minecraft, but you can try this
I use tile '46' for double clicking, so after click tile '46' i change it '44'.
Or if you clicking on tilemap != 46, you will erase it
Maybe you can customize it from that.