Scientists devise Men in Black forgetting mechanism for AI