duplicate pattern library