Use a defensive copy for shorter lock time