The order is the latest effort to try to keep New Yorkers from interacting at close quarters and spreading the highly contagious virus.