When you place a door in your world and you break it, you get 2 doors instead of 1. Either positions work.(opened, closed)
MCPE-1296 Breaking a door destroys or duplicates it