(f) a copy or duplicate of any firearm meeting the standards of or enumerated in clauses (d) and (e); provided, that for the purposes of this subsection, “copy or duplicate” shall mean a firearm: (A) that was manufactured or subsequently configured with an ability to accept a detachable magazine; and (B)(i) that has internal functional components that are substantially similar in construction and configuration to those of an enumerated firearm in clauses (d) and (e); or (ii) that has a receiver that is the same as or interchangeable with the receiver of an enumerated firearm in said clauses (d) and (e); provided further, that the firearm shall not be considered a copy or duplicate of a firearm identified in clauses (d) and (e) if sold, owned and registered prior to July 20, 2016